package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ds_derepair_wh
 * 
 * @author ruoyi
 * @date 2024-06-14
 */
public class DsDerepairWh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修工单ID */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 维修类型 */
    @Excel(name = "维修类型")
    private String repairType;

    /** 报修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportedDate;

    /** 维修完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completedDate;

    /** 维修状态 */
    @Excel(name = "维修状态")
    private Long status;

    /** 维修描述 */
    @Excel(name = "维修描述")
    private String description;

    /** 维修方案 */
    @Excel(name = "维修方案")
    private String solution;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setRepairType(String repairType) 
    {
        this.repairType = repairType;
    }

    public String getRepairType() 
    {
        return repairType;
    }
    public void setReportedDate(Date reportedDate) 
    {
        this.reportedDate = reportedDate;
    }

    public Date getReportedDate() 
    {
        return reportedDate;
    }
    public void setCompletedDate(Date completedDate) 
    {
        this.completedDate = completedDate;
    }

    public Date getCompletedDate() 
    {
        return completedDate;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setSolution(String solution) 
    {
        this.solution = solution;
    }

    public String getSolution() 
    {
        return solution;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("repairType", getRepairType())
            .append("reportedDate", getReportedDate())
            .append("completedDate", getCompletedDate())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("solution", getSolution())
            .toString();
    }
}
